import {createHashRouter} from 'react-router-dom'
import Login from '../view/page/login'
import Reg from '../view/page/reg'
import Home from '../view/page/home'
import Err from '../view/page/err'
const route = createHashRouter([
    {
        path:"reg",
       element:<Reg></Reg>
        
    },
    {
        path:"/",
       element:<Login></Login>
        
    },
    {
        path:"home",
       element:<Home></Home>
        
    },
    {
        path:"err",
       element:<Err></Err>
        
    },
    {
        path:"*",
       element:<div>404</div>
        
    },


])
export default route

